package de.haw.HESextern.Transport;

public class TransportId {

	private Integer id;
	
	public TransportId() {
		
	}

	public Integer getId() {
		return id;
	}

	public TransportId(Integer id) {
		this.id = id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}

	public boolean equals(Object o) {
		if(this == o) {
			return false;
		}
		if(o == null || this.getClass()!=o.getClass()) {
			return false;
		}
		TransportId id = (TransportId) o;
		if(this.getId().equals(id.getId())) {
			return true;
		}
		return false;
	}
	
	public String toString() {
		return "id-> " + id; 
	}
	
}
